<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <title>Title</title>
</head>
<body>

    <script src="../js/axios.js"></script>
    <script>
        let params = new URLSearchParams();
        params.append("name","蝎子精");
        params.append("age", 111);
        params.append("sex","2");
        axios.post("http://localhost:8090/user/addUser",params)
                .then(result=>{
                    console.log("111");
                    console.log(result.data)
                })
    </script>
</body>
</html>